<template>
  <router-view v-slot="{ Component }">
    <!-- <keep-alive :include="cacheFirst"> -->
    <component :is="Component" />
    <!-- </keep-alive> -->
  </router-view>
</template>

<script setup lang="ts">
import routerModule from '@/store/router-store'

const routerStore = routerModule()

routerStore.UPDATE_CURRENT_ROUTER()

// const cacheFirst = computed(() => Object.keys(routerStore.CACHE_MODULES))

</script>

<style>
* {
  margin: 0;
  padding: 0;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
}

input[type="number"]::-webkit-inner-spin-button {
  appearance: none;
}
</style>
